<?php

class News {

    //Attributs
    private $IdNews;
    private $IdAdmin;
    private $TitreNews;
    private $TypeNews;
    private $Photo;
    private $Video;
    private $DateNews;
    private $ContenuNews;

    //Le constructeur
    public function __construct() {
        
    }

    //Region accesseurs
    public function getIdNews() {
        return $this->IdNews;
    }

    public function setIdNews($IdNews) {
        $this->IdNews = $IdNews;
    }

    public function getIdAdmin() {
        return $this->IdAdmin;
    }

    public function setIdAdmin($IdAdmin) {
        $this->IdAdmin = $IdAdmin;
    }

    public function getTitreNews() {
        return $this->TitreNews;
    }

    public function setTitreNews($TitreNews) {
        $this->TitreNews = $TitreNews;
    }

    public function getTypeNews() {
        return $this->TypeNews;
    }

    public function setTypeNews($TypeNews) {
        $this->TypeNews = $TypeNews;
    }

    public function getPhoto() {
        return $this->Photo;
    }

    public function setPhoto($Photo) {
        $this->Photo = $Photo;
    }

    public function getVideo() {
        return $this->Video;
    }

    public function setVideo($Video) {
        $this->Video = $Video;
    }

    public function getDateNews() {
        return $this->DateNews;
    }

    public function setDateNews($DateNews) {
        $this->DateNews = $DateNews;
    }

    public function getContenuNews() {
        return $this->ContenuNews;
    }

    public function setContenuNews($ContenuNews) {
        $this->ContenuNews = $ContenuNews;
    }


}

?>
